Total Complexity | 94 |
Dependencies | 16 |
Dependents | 5 |
Total lines | 636 |
Lines of code | 411 |
Logical lines of code | 184 |
Comment lines | 148 |
Methods | 38 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
paypal_modal_info() | 49 | 9 | 31 | |
get_payment_script() | 49 | 5 | 40 | |
payment_subscription() | 48 | 5 | 35 | |
subscription_agreement_success() | 49 | 5 | 31 | |
createPlan() | 52 | 5 | 24 | |
synchronizationPlan() | 57 | 5 | 16 | |
paypal_synchronization_ajax() | 59 | 5 | 13 | |
update_plan_or_created() | 61 | 5 | 11 | |
init() | 58 | 4 | 14 | |
subscription_canceld() | 60 | 4 | 12 | |
getPlan() | 55 | 3 | 20 | |
getCurrencies() | 48 | 2 | 31 | |
checkCurrency() | 76 | 4 | 3 | |
get_api_context() | 59 | 3 | 15 | |
getPayPalPlanId() | 70 | 3 | 5 | |
save_settings() | 66 | 3 | 8 | |
getMode() | 67 | 2 | 7 | |
delete_plan() | 70 | 2 | 6 | |
__construct() | 59 | 1 | 13 | |
getPlanList() | 80 | 1 | 3 | |
add_payment_method() | 74 | 1 | 4 | |
getApiContext() | 76 | 1 | 4 | |
install() | 91 | 1 | 2 | |
uninstall() | 91 | 1 | 2 | |
add_payment_method_list() | 74 | 1 | 4 | |
get_payment_form() | 77 | 1 | 3 | |
getFrequency() | 67 | 1 | 8 | |
subscription_agreement_canceled() | 71 | 1 | 7 | |
render_settings() | 77 | 1 | 3 | |
deletePlan() | 80 | 1 | 3 | |
setPayPalPlanId() | 78 | 1 | 3 | |
getData() | 76 | 1 | 4 | |
get_active_mode() | 75 | 1 | 4 | |
getAgreement() | 80 | 1 | 3 | |
cancelAgreement() | 80 | 1 | 3 | |
executeAgreement() | 80 | 1 | 3 | |
createAgreementForPlan() | 72 | 1 | 6 | |
updatePlan() | 70 | 1 | 7 |